.class Lcom/youdao/note/activity/NoteBookListActivity$7;
.super Ljava/lang/Object;
.source "NoteBookListActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnKeyListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/youdao/note/activity/NoteBookListActivity;->onCreateDialog(I)Landroid/app/Dialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/youdao/note/activity/NoteBookListActivity;


# direct methods
.method constructor <init>(Lcom/youdao/note/activity/NoteBookListActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 314
    iput-object p1, p0, Lcom/youdao/note/activity/NoteBookListActivity$7;->this$0:Lcom/youdao/note/activity/NoteBookListActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onKey(Landroid/content/DialogInterface;ILandroid/view/KeyEvent;)Z
    .locals 2
    .parameter "dialog"
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 318
    const/4 v0, 0x4

    if-ne p2, v0, :cond_1

    iget-object v0, p0, Lcom/youdao/note/activity/NoteBookListActivity$7;->this$0:Lcom/youdao/note/activity/NoteBookListActivity;

    #getter for: Lcom/youdao/note/activity/NoteBookListActivity;->showing_DIALOG_NOTEBOOK_EXIST:Z
    invoke-static {v0}, Lcom/youdao/note/activity/NoteBookListActivity;->access$1000(Lcom/youdao/note/activity/NoteBookListActivity;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 319
    iget-object v0, p0, Lcom/youdao/note/activity/NoteBookListActivity$7;->this$0:Lcom/youdao/note/activity/NoteBookListActivity;

    const/16 v1, 0x71

    invoke-virtual {v0, v1}, Lcom/youdao/note/activity/NoteBookListActivity;->dismissDialog(I)V

    .line 320
    iget-object v0, p0, Lcom/youdao/note/activity/NoteBookListActivity$7;->this$0:Lcom/youdao/note/activity/NoteBookListActivity;

    #getter for: Lcom/youdao/note/activity/NoteBookListActivity;->fromRenameDialog:Z
    invoke-static {v0}, Lcom/youdao/note/activity/NoteBookListActivity;->access$1100(Lcom/youdao/note/activity/NoteBookListActivity;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 321
    iget-object v0, p0, Lcom/youdao/note/activity/NoteBookListActivity$7;->this$0:Lcom/youdao/note/activity/NoteBookListActivity;

    const/16 v1, 0x6f

    invoke-virtual {v0, v1}, Lcom/youdao/note/activity/NoteBookListActivity;->showDialog(I)V

    .line 325
    :goto_0
    const/4 v0, 0x1

    .line 327
    :goto_1
    return v0

    .line 323
    :cond_0
    iget-object v0, p0, Lcom/youdao/note/activity/NoteBookListActivity$7;->this$0:Lcom/youdao/note/activity/NoteBookListActivity;

    const/16 v1, 0x70

    invoke-virtual {v0, v1}, Lcom/youdao/note/activity/NoteBookListActivity;->showDialog(I)V

    goto :goto_0

    .line 327
    :cond_1
    const/4 v0, 0x0

    goto :goto_1
.end method
